package com.kongge.viewdisplayframeworklib.landscape;

import android.app.Activity;
import android.content.Context;
import android.view.KeyEvent;
import android.view.ViewGroup;

import com.kongge.viewdisplayframeworklib.event.action.EQAction;
import com.kongge.viewdisplayframeworklib.model.AbsUIController;
import com.kongge.viewdisplayframeworklib.model.Page;
import com.kongge.viewdisplayframeworklib.model.PageControlStack;
import com.kongge.viewdisplayframeworklib.view.TabWidget;

public abstract class AbstractUIManager {

	// ~常量区块
	// ========================================================

	// ~成员变量区块
	// ========================================================
	protected Activity mActivity;
	protected ViewGroup mContentView;

	// ~构造函数区块
	// ========================================================

	// ~方法区块
	// ========================================================
	public abstract Context getContext();
	public abstract void setTabWidgetHeight(int nHeight);
	public abstract void setParentViewGroup(ViewGroup viewGroup);
	public abstract void setTabWidget(TabWidget tabWidget);
	public abstract void gotoTabSection(int nIndex);
	public abstract void goBack();
	public abstract void goBackToFirstPage();
	public abstract AbsUIController getCurPageControl();
	public abstract AbsUIController getLastPageControl();
	public abstract String getCurPageTitle();
	public abstract boolean isCanGoBack();
	public abstract void init();
	public abstract void gotoPage(EQAction gotoFrameAction);
	public abstract void gotoPage(int nPageId);
	public abstract PageControlStack getCurUIControlStack();
	public abstract void recalllayoutControl(AbsUIController control);
	public abstract boolean onKeyDown(int keyCode, KeyEvent event);
	public abstract void onDestory();
	public abstract void close();
	public abstract void onActivityResume();
	public abstract void onActivityPause();

	// ~静态方法区块
	// ========================================================

	// ~内部接口（类）区块
	// ========================================================

}
